#!/usr/bin/env python
# -*- coding: utf-8 -*-

var = 9
print var

def scope_test():
    global var
    var = 8
    print var
    
scope_test()
print var

